package com.jingdianjichi.auth.application.convert;


import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签DTO的转换
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);


    AuthUserBO convertDTOtoBo(AuthUserDTO authUserDTO);
    AuthUserDTO convertBotoDTO(AuthUserBO authUserBO);
    List<AuthUserBO>  convertListDTOtoBo(List<AuthUserBO> authUserBOList);
}
